package com.util.encrypt;

/**
 * Created by reeveslee on 16/6/19.
 */
public class TokenEncrypt {

    /**
     * 加密
     *
     * @param sourceStr
     * @return
     */
    public static String encrpt(String sourceStr) {
        String strKey = "1004100451004555"; // 秘钥16位
        String s3 = Des.Encrypt(sourceStr, Des.hex2byte(strKey));
        return s3;
    }
}
